package com.bestow.basic.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 商业伙伴关系对象 hls_bp_relation
 * 
 * @author liliu
 * @date 2022-09-28
 */
@TableName("hls_bp_relation")
public class HlsBpRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商业伙伴关系 */
    @Excel(name = "商业伙伴关系")
    @TableId(value = "bp_relation_type")
    private String bpRelationType;

    /** 商业伙伴关系(反向) */
    @Excel(name = "商业伙伴关系(反向)")
    private String bpRelationTypeOp;

    /** 分类 */
    @Excel(name = "分类")
    private String bpClass;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 启用标志 */
    @Excel(name = "启用标志")
    private String enabledFlag;

    /** 系统级 */
    @Excel(name = "系统级")
    private String systemFlag;

    /*mybatis-plus不支持jpa注解 @Transient*/
    //@TableField(exist = false)


    public void setBpRelationType(String bpRelationType) 
    {
        this.bpRelationType = bpRelationType;
    }

    public String getBpRelationType() 
    {
        return bpRelationType;
    }
    public void setBpRelationTypeOp(String bpRelationTypeOp) 
    {
        this.bpRelationTypeOp = bpRelationTypeOp;
    }

    public String getBpRelationTypeOp() 
    {
        return bpRelationTypeOp;
    }
    public void setBpClass(String bpClass) 
    {
        this.bpClass = bpClass;
    }

    public String getBpClass() 
    {
        return bpClass;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setEnabledFlag(String enabledFlag) 
    {
        this.enabledFlag = enabledFlag;
    }

    public String getEnabledFlag() 
    {
        return enabledFlag;
    }
    public void setSystemFlag(String systemFlag) 
    {
        this.systemFlag = systemFlag;
    }

    public String getSystemFlag() 
    {
        return systemFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bpRelationType", getBpRelationType())
            .append("bpRelationTypeOp", getBpRelationTypeOp())
            .append("bpClass", getBpClass())
            .append("description", getDescription())
            .append("enabledFlag", getEnabledFlag())
            .append("systemFlag", getSystemFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
